<?php defined('SYSPATH') or die('No direct script access.');
 
class Model_Sitetext extends ORM {
	protected $_table_name = 'sitetext';

	public function getAll($postfix) {
		return DB::select('_key', array('_value'.$postfix, '_value'))
			->from($this->_table_name)
			->execute()
			->as_array('_key');
	}

}